/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  cn.hutool.core.date.DateUtil
 *  cn.hutool.core.util.ObjectUtil
 *  com.alibaba.fastjson.JSON
 *  com.alibaba.fastjson.JSONObject
 *  de.felixroske.jfxsupport.FXMLController
 *  javafx.collections.FXCollections
 *  javafx.collections.ObservableList
 *  javafx.event.EventHandler
 *  javafx.fxml.FXML
 *  javafx.fxml.Initializable
 *  javafx.scene.Node
 *  javafx.scene.control.Alert
 *  javafx.scene.control.Alert$AlertType
 *  javafx.scene.control.Button
 *  javafx.scene.control.ChoiceBox
 *  javafx.scene.control.DatePicker
 *  javafx.scene.control.Pagination
 *  javafx.scene.control.ScrollPane
 *  javafx.scene.control.TableColumn
 *  javafx.scene.control.TableView
 *  javafx.scene.control.TextField
 *  javafx.scene.control.cell.PropertyValueFactory
 *  javafx.scene.input.KeyCode
 *  javafx.scene.input.KeyEvent
 *  javafx.scene.layout.VBox
 *  javafx.util.Callback
 *  javafx.util.StringConverter
 *  org.springframework.beans.factory.annotation.Autowired
 *  org.springframework.util.CollectionUtils
 */
package com.gys.controller.saleRecipel;

import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.ObjectUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.gys.common.business.SaleRecipelUtil;
import com.gys.common.data.HttpJson;
import com.gys.common.data.PageInfo;
import com.gys.common.util.CommonUtil;
import com.gys.common.util.ConstUtil;
import com.gys.controller.BaseController;
import com.gys.controller.dataManger.ControllerManger;
import com.gys.controller.index.IndexController;
import com.gys.data.deviceCheck.GsdcStatus;
import com.gys.data.enumclass.Sex;
import com.gys.data.saleRecipel.GaiaSdSaleRecipelInData;
import com.gys.data.saleRecipel.GaiaSdSaleRecipelOutData;
import de.felixroske.jfxsupport.FXMLController;
import java.net.URL;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.ResourceBundle;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.Node;
import javafx.scene.control.Alert;
import javafx.scene.control.Button;
import javafx.scene.control.ChoiceBox;
import javafx.scene.control.DatePicker;
import javafx.scene.control.Pagination;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.TextField;
import javafx.scene.control.cell.PropertyValueFactory;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.VBox;
import javafx.util.Callback;
import javafx.util.StringConverter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.CollectionUtils;

@FXMLController
public class SaleRecipelQueryController
extends BaseController
implements Initializable {
    private final int pageSize = ConstUtil.DEFAULT_PAGESIZE;
    private final int defaultPageCount = ConstUtil.DEFAULT_PAGECOUNT;
    private ObservableList<GaiaSdSaleRecipelOutData> observableTableList = FXCollections.observableArrayList(new ArrayList());
    @FXML
    private ScrollPane scrollPane;
    @FXML
    private VBox vBox;
    @FXML
    private Button sureBtn;
    @FXML
    private Pagination pagination;
    @FXML
    private TextField inpGssrRecipelId;
    @FXML
    private TextField inpGssrProId;
    @FXML
    private TextField inpGssrPharmacistName;
    @FXML
    private TextField inpGssrCustName;
    @FXML
    private TextField inpGssrBatchNo;
    @FXML
    private TextField inpGssrPharmacistId;
    @FXML
    private TextField inpGssrCustMobile;
    @FXML
    private ChoiceBox<GsdcStatus> inpGssrType;
    @FXML
    private ChoiceBox<GsdcStatus> inpGssrCheckStatus;
    @FXML
    private DatePicker inpGssrCheckDate;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> index;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrType;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrBrName;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrDate;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrTime;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrEmp;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrUploadFlag;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrSaleBrName;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrSaleDate;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrSaleBillNo;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrCustName;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrCustSex;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrCustAge;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrCustIdcard;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrCustMobile;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrPharmacistId;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrPharmacistName;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrCheckDate;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrCheckTime;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrCheckStatus;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrProId;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> proName;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> proSpecs;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> proUnit;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrBatchNo;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrQty;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> proPriceNormal;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> proFactoryName;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> proPlace;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> proForm;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> proRegisterNo;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelId;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelHospital;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelDepartment;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelDoctor;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrSymptom;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrDiagnose;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelPicId;
    @FXML
    private TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelPicName;
    @FXML
    private TableView<GaiaSdSaleRecipelOutData> tableView;
    @Autowired
    private IndexController indexController;

    public void initialize(URL location, ResourceBundle resources) {
        this.scrollPane.setPrefWidth(this.getContentWidth());
        this.scrollPane.setPrefHeight(this.getContentHeight());
        this.vBox.setPrefWidth(this.getContentWidth());
        this.vBox.setPrefHeight(this.getContentHeight());
        this.tableView.setPrefWidth(this.getContentWidth());
        this.pagination.setPrefWidth(this.getContentWidth());
        this.initQueryPane();
        ControllerManger.controllerMap.put(this.getClass().getSimpleName(), this);
        StringConverter converter1 = CommonUtil.dataPickerFormat("yyyyMMdd");
        this.inpGssrCheckDate.setConverter(converter1);
        this.pagination.setPageFactory((Callback)new Callback<Integer, Node>(){

            public Node call(Integer pageNum) {
                return SaleRecipelQueryController.this.initTable(pageNum);
            }
        });
        this.inpGssrType.getItems().addAll(this.getTypeStatus());
        this.inpGssrType.converterProperty().set(new StringConverter<GsdcStatus>(){

            public String toString(GsdcStatus object) {
                return object.getName();
            }

            public GsdcStatus fromString(String string) {
                return null;
            }
        });
        this.inpGssrCheckStatus.getItems().addAll(this.getAuditStatus());
        this.inpGssrCheckStatus.converterProperty().set(new StringConverter<GsdcStatus>(){

            public String toString(GsdcStatus object) {
                return object.getName();
            }

            public GsdcStatus fromString(String string) {
                return null;
            }
        });
        this.indexController.scrollContentPane.setOnKeyReleased((EventHandler)new EventHandler<KeyEvent>(){

            public void handle(KeyEvent e) {
                if (!SaleRecipelQueryController.this.sureBtn.isDisable() && e.getCode() == KeyCode.ENTER) {
                    SaleRecipelQueryController.this.sureAction();
                }
                e.consume();
            }
        });
    }

    public TableView<GaiaSdSaleRecipelOutData> initTable(int pageNum) {
        GaiaSdSaleRecipelInData inData = new GaiaSdSaleRecipelInData();
        inData.setPageNum(pageNum + 1);
        inData.setPageSize(this.pageSize);
        if (ObjectUtil.isNotEmpty(this.inpGssrType.getValue())) {
            inData.setGssrType(((GsdcStatus)this.inpGssrType.getValue()).getCode());
        }
        if (ObjectUtil.isNotEmpty(this.inpGssrRecipelId.getText())) {
            inData.setGssrRecipelId(this.inpGssrRecipelId.getText());
        }
        if (ObjectUtil.isNotEmpty(this.inpGssrCheckStatus.getValue())) {
            inData.setGssrCheckStatus(((GsdcStatus)this.inpGssrCheckStatus.getValue()).getCode());
        }
        if (ObjectUtil.isNotEmpty(this.inpGssrProId.getText())) {
            inData.setGssrProId(this.inpGssrProId.getText());
        }
        if (ObjectUtil.isNotEmpty(this.inpGssrPharmacistName.getText())) {
            inData.setGssrPharmacistName(this.inpGssrPharmacistName.getText());
        }
        if (ObjectUtil.isNotEmpty(this.inpGssrCustName.getText())) {
            inData.setGssrCustName(this.inpGssrCustName.getText());
        }
        if (ObjectUtil.isNotEmpty(this.inpGssrBatchNo.getText())) {
            inData.setGssrBatchNo(this.inpGssrBatchNo.getText());
        }
        if (ObjectUtil.isNotEmpty(this.inpGssrPharmacistId.getText())) {
            inData.setGssrPharmacistId(this.inpGssrPharmacistId.getText());
        }
        if (ObjectUtil.isNotEmpty(this.inpGssrCustMobile.getText())) {
            inData.setGssrCustMobile(this.inpGssrCustMobile.getText());
        }
        if (ObjectUtil.isNotEmpty(this.inpGssrCheckDate.getValue())) {
            inData.setGssrCheckDate(DateUtil.format((Date)DateUtil.parse((String)((LocalDate)this.inpGssrCheckDate.getValue()).toString()), (String)"yyyyMMdd"));
        }
        PageInfo pageInfo = null;
        HttpJson rsp = SaleRecipelUtil.getAuditedSaleRecipelList(inData);
        if (rsp.isSuccess()) {
            pageInfo = (PageInfo)JSON.parseObject((String)rsp.getMsg(), PageInfo.class);
            if (pageInfo != null && !CollectionUtils.isEmpty(pageInfo.getList())) {
                ArrayList<GaiaSdSaleRecipelOutData> listTemp = new ArrayList<GaiaSdSaleRecipelOutData>();
                for (int i = 0; i < pageInfo.getList().size(); ++i) {
                    String str = JSONObject.toJSONString(pageInfo.getList().get(i));
                    GaiaSdSaleRecipelOutData saleRecipelOutData = (GaiaSdSaleRecipelOutData)JSONObject.parseObject((String)str, GaiaSdSaleRecipelOutData.class);
                    saleRecipelOutData.setGssrUploadFlag("\u5df2\u4e0a\u4f20");
                    if ("1".equals(saleRecipelOutData.getGssrType())) {
                        saleRecipelOutData.setGssrType("\u672c\u5730\u5ba1\u65b9");
                    } else {
                        saleRecipelOutData.setGssrType("\u8fdc\u7a0b\u5ba1\u65b9");
                    }
                    if ("1".equals(saleRecipelOutData.getGssrCheckStatus())) {
                        saleRecipelOutData.setGssrCheckStatus("\u5df2\u5ba1\u6838");
                    } else {
                        saleRecipelOutData.setGssrCheckStatus("\u672a\u5ba1\u6838");
                    }
                    saleRecipelOutData.setGssrCustSex(Sex.getName(saleRecipelOutData.getGssrCustSex()));
                    listTemp.add(saleRecipelOutData);
                }
                pageInfo.setList(listTemp);
            }
        } else {
            Alert alert = this.createAlert(Alert.AlertType.INFORMATION, "\u63d0\u793a\u4fe1\u606f", rsp.getMsg());
            alert.showAndWait();
            return new TableView();
        }
        List<GaiaSdSaleRecipelOutData> dataList = null;
        if (pageInfo != null && !CollectionUtils.isEmpty(pageInfo.getList())) {
            this.pagination.setPageCount(pageInfo.getPages());
            dataList = pageInfo.getList();
        } else {
            this.pagination.setPageCount(this.defaultPageCount);
            dataList = new ArrayList();
        }
        this.observableTableList.clear();
        this.observableTableList = FXCollections.observableArrayList(dataList);
        this.bingTableCell();
        this.tableView.setItems(this.observableTableList);
        return this.tableView;
    }

    private void bingTableCell() {
        this.index.setCellValueFactory((Callback)new PropertyValueFactory(this.index.getId()));
        this.gssrType.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrType.getId()));
        this.gssrBrName.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrBrName.getId()));
        this.gssrDate.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrDate.getId()));
        this.gssrTime.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrTime.getId()));
        this.gssrEmp.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrEmp.getId()));
        this.gssrUploadFlag.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrUploadFlag.getId()));
        this.gssrSaleBrName.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrSaleBrName.getId()));
        this.gssrSaleDate.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrSaleDate.getId()));
        this.gssrSaleBillNo.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrSaleBillNo.getId()));
        this.gssrCustName.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrCustName.getId()));
        this.gssrCustSex.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrCustSex.getId()));
        this.gssrCustAge.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrCustAge.getId()));
        this.gssrCustIdcard.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrCustIdcard.getId()));
        this.gssrCustMobile.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrCustMobile.getId()));
        this.gssrPharmacistId.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrPharmacistId.getId()));
        this.gssrPharmacistName.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrPharmacistName.getId()));
        this.gssrCheckDate.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrCheckDate.getId()));
        this.gssrCheckTime.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrCheckTime.getId()));
        this.gssrCheckStatus.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrCheckStatus.getId()));
        this.gssrProId.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrProId.getId()));
        this.proName.setCellValueFactory((Callback)new PropertyValueFactory(this.proName.getId()));
        this.proSpecs.setCellValueFactory((Callback)new PropertyValueFactory(this.proSpecs.getId()));
        this.proUnit.setCellValueFactory((Callback)new PropertyValueFactory(this.proUnit.getId()));
        this.gssrBatchNo.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrBatchNo.getId()));
        this.gssrQty.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrQty.getId()));
        this.proPriceNormal.setCellValueFactory((Callback)new PropertyValueFactory(this.proPriceNormal.getId()));
        this.proFactoryName.setCellValueFactory((Callback)new PropertyValueFactory(this.proFactoryName.getId()));
        this.proPlace.setCellValueFactory((Callback)new PropertyValueFactory(this.proPlace.getId()));
        this.proForm.setCellValueFactory((Callback)new PropertyValueFactory(this.proForm.getId()));
        this.proRegisterNo.setCellValueFactory((Callback)new PropertyValueFactory(this.proRegisterNo.getId()));
        this.gssrRecipelId.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrRecipelId.getId()));
        this.gssrRecipelHospital.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrRecipelHospital.getId()));
        this.gssrRecipelDepartment.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrRecipelDepartment.getId()));
        this.gssrRecipelDoctor.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrRecipelDoctor.getId()));
        this.gssrSymptom.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrSymptom.getId()));
        this.gssrDiagnose.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrDiagnose.getId()));
        this.gssrRecipelPicId.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrRecipelPicId.getId()));
        this.gssrRecipelPicName.setCellValueFactory((Callback)new PropertyValueFactory(this.gssrRecipelPicName.getId()));
    }

    private void initQueryPane() {
        this.inpGssrRecipelId.clear();
        this.inpGssrProId.clear();
        this.inpGssrPharmacistName.clear();
        this.inpGssrCustName.clear();
        this.inpGssrBatchNo.clear();
        this.inpGssrPharmacistId.clear();
        this.inpGssrCustMobile.clear();
        this.inpGssrCheckDate.setValue(null);
        this.inpGssrType.setValue(null);
        this.inpGssrCheckStatus.setValue(null);
    }

    @FXML
    void sureAction() {
        this.initTable(0);
        this.pagination.setCurrentPageIndex(0);
    }

    private List<GsdcStatus> getAuditStatus() {
        ArrayList<GsdcStatus> list = new ArrayList<GsdcStatus>();
        list.add(new GsdcStatus("1", "\u5df2\u5ba1\u6838"));
        list.add(new GsdcStatus("0", "\u672a\u5ba1\u6838"));
        return list;
    }

    private List<GsdcStatus> getTypeStatus() {
        ArrayList<GsdcStatus> list = new ArrayList<GsdcStatus>();
        list.add(new GsdcStatus("1", "\u672c\u5730\u5ba1\u65b9"));
        list.add(new GsdcStatus("2", "\u8fdc\u7a0b\u5ba1\u65b9"));
        return list;
    }

    @FXML
    private void reset() {
        this.inpGssrType.setValue(null);
        this.inpGssrRecipelId.clear();
        this.inpGssrCheckStatus.setValue(null);
        this.inpGssrCheckDate.setValue(null);
        this.inpGssrProId.clear();
        this.inpGssrPharmacistName.clear();
        this.inpGssrCustName.clear();
        this.inpGssrBatchNo.clear();
        this.inpGssrPharmacistId.clear();
        this.inpGssrCustMobile.clear();
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public int getDefaultPageCount() {
        return this.defaultPageCount;
    }

    public ObservableList<GaiaSdSaleRecipelOutData> getObservableTableList() {
        return this.observableTableList;
    }

    public ScrollPane getScrollPane() {
        return this.scrollPane;
    }

    public VBox getVBox() {
        return this.vBox;
    }

    public Button getSureBtn() {
        return this.sureBtn;
    }

    public Pagination getPagination() {
        return this.pagination;
    }

    public TextField getInpGssrRecipelId() {
        return this.inpGssrRecipelId;
    }

    public TextField getInpGssrProId() {
        return this.inpGssrProId;
    }

    public TextField getInpGssrPharmacistName() {
        return this.inpGssrPharmacistName;
    }

    public TextField getInpGssrCustName() {
        return this.inpGssrCustName;
    }

    public TextField getInpGssrBatchNo() {
        return this.inpGssrBatchNo;
    }

    public TextField getInpGssrPharmacistId() {
        return this.inpGssrPharmacistId;
    }

    public TextField getInpGssrCustMobile() {
        return this.inpGssrCustMobile;
    }

    public ChoiceBox<GsdcStatus> getInpGssrType() {
        return this.inpGssrType;
    }

    public ChoiceBox<GsdcStatus> getInpGssrCheckStatus() {
        return this.inpGssrCheckStatus;
    }

    public DatePicker getInpGssrCheckDate() {
        return this.inpGssrCheckDate;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getIndex() {
        return this.index;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrType() {
        return this.gssrType;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrBrName() {
        return this.gssrBrName;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrDate() {
        return this.gssrDate;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrTime() {
        return this.gssrTime;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrEmp() {
        return this.gssrEmp;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrUploadFlag() {
        return this.gssrUploadFlag;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrSaleBrName() {
        return this.gssrSaleBrName;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrSaleDate() {
        return this.gssrSaleDate;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrSaleBillNo() {
        return this.gssrSaleBillNo;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrCustName() {
        return this.gssrCustName;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrCustSex() {
        return this.gssrCustSex;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrCustAge() {
        return this.gssrCustAge;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrCustIdcard() {
        return this.gssrCustIdcard;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrCustMobile() {
        return this.gssrCustMobile;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrPharmacistId() {
        return this.gssrPharmacistId;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrPharmacistName() {
        return this.gssrPharmacistName;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrCheckDate() {
        return this.gssrCheckDate;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrCheckTime() {
        return this.gssrCheckTime;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrCheckStatus() {
        return this.gssrCheckStatus;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrProId() {
        return this.gssrProId;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getProName() {
        return this.proName;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getProSpecs() {
        return this.proSpecs;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getProUnit() {
        return this.proUnit;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrBatchNo() {
        return this.gssrBatchNo;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrQty() {
        return this.gssrQty;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getProPriceNormal() {
        return this.proPriceNormal;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getProFactoryName() {
        return this.proFactoryName;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getProPlace() {
        return this.proPlace;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getProForm() {
        return this.proForm;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getProRegisterNo() {
        return this.proRegisterNo;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrRecipelId() {
        return this.gssrRecipelId;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrRecipelHospital() {
        return this.gssrRecipelHospital;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrRecipelDepartment() {
        return this.gssrRecipelDepartment;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrRecipelDoctor() {
        return this.gssrRecipelDoctor;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrSymptom() {
        return this.gssrSymptom;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrDiagnose() {
        return this.gssrDiagnose;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrRecipelPicId() {
        return this.gssrRecipelPicId;
    }

    public TableColumn<GaiaSdSaleRecipelOutData, String> getGssrRecipelPicName() {
        return this.gssrRecipelPicName;
    }

    public TableView<GaiaSdSaleRecipelOutData> getTableView() {
        return this.tableView;
    }

    public IndexController getIndexController() {
        return this.indexController;
    }

    public void setObservableTableList(ObservableList<GaiaSdSaleRecipelOutData> observableTableList) {
        this.observableTableList = observableTableList;
    }

    public void setScrollPane(ScrollPane scrollPane) {
        this.scrollPane = scrollPane;
    }

    public void setVBox(VBox vBox) {
        this.vBox = vBox;
    }

    public void setSureBtn(Button sureBtn) {
        this.sureBtn = sureBtn;
    }

    public void setPagination(Pagination pagination) {
        this.pagination = pagination;
    }

    public void setInpGssrRecipelId(TextField inpGssrRecipelId) {
        this.inpGssrRecipelId = inpGssrRecipelId;
    }

    public void setInpGssrProId(TextField inpGssrProId) {
        this.inpGssrProId = inpGssrProId;
    }

    public void setInpGssrPharmacistName(TextField inpGssrPharmacistName) {
        this.inpGssrPharmacistName = inpGssrPharmacistName;
    }

    public void setInpGssrCustName(TextField inpGssrCustName) {
        this.inpGssrCustName = inpGssrCustName;
    }

    public void setInpGssrBatchNo(TextField inpGssrBatchNo) {
        this.inpGssrBatchNo = inpGssrBatchNo;
    }

    public void setInpGssrPharmacistId(TextField inpGssrPharmacistId) {
        this.inpGssrPharmacistId = inpGssrPharmacistId;
    }

    public void setInpGssrCustMobile(TextField inpGssrCustMobile) {
        this.inpGssrCustMobile = inpGssrCustMobile;
    }

    public void setInpGssrType(ChoiceBox<GsdcStatus> inpGssrType) {
        this.inpGssrType = inpGssrType;
    }

    public void setInpGssrCheckStatus(ChoiceBox<GsdcStatus> inpGssrCheckStatus) {
        this.inpGssrCheckStatus = inpGssrCheckStatus;
    }

    public void setInpGssrCheckDate(DatePicker inpGssrCheckDate) {
        this.inpGssrCheckDate = inpGssrCheckDate;
    }

    public void setIndex(TableColumn<GaiaSdSaleRecipelOutData, String> index) {
        this.index = index;
    }

    public void setGssrType(TableColumn<GaiaSdSaleRecipelOutData, String> gssrType) {
        this.gssrType = gssrType;
    }

    public void setGssrBrName(TableColumn<GaiaSdSaleRecipelOutData, String> gssrBrName) {
        this.gssrBrName = gssrBrName;
    }

    public void setGssrDate(TableColumn<GaiaSdSaleRecipelOutData, String> gssrDate) {
        this.gssrDate = gssrDate;
    }

    public void setGssrTime(TableColumn<GaiaSdSaleRecipelOutData, String> gssrTime) {
        this.gssrTime = gssrTime;
    }

    public void setGssrEmp(TableColumn<GaiaSdSaleRecipelOutData, String> gssrEmp) {
        this.gssrEmp = gssrEmp;
    }

    public void setGssrUploadFlag(TableColumn<GaiaSdSaleRecipelOutData, String> gssrUploadFlag) {
        this.gssrUploadFlag = gssrUploadFlag;
    }

    public void setGssrSaleBrName(TableColumn<GaiaSdSaleRecipelOutData, String> gssrSaleBrName) {
        this.gssrSaleBrName = gssrSaleBrName;
    }

    public void setGssrSaleDate(TableColumn<GaiaSdSaleRecipelOutData, String> gssrSaleDate) {
        this.gssrSaleDate = gssrSaleDate;
    }

    public void setGssrSaleBillNo(TableColumn<GaiaSdSaleRecipelOutData, String> gssrSaleBillNo) {
        this.gssrSaleBillNo = gssrSaleBillNo;
    }

    public void setGssrCustName(TableColumn<GaiaSdSaleRecipelOutData, String> gssrCustName) {
        this.gssrCustName = gssrCustName;
    }

    public void setGssrCustSex(TableColumn<GaiaSdSaleRecipelOutData, String> gssrCustSex) {
        this.gssrCustSex = gssrCustSex;
    }

    public void setGssrCustAge(TableColumn<GaiaSdSaleRecipelOutData, String> gssrCustAge) {
        this.gssrCustAge = gssrCustAge;
    }

    public void setGssrCustIdcard(TableColumn<GaiaSdSaleRecipelOutData, String> gssrCustIdcard) {
        this.gssrCustIdcard = gssrCustIdcard;
    }

    public void setGssrCustMobile(TableColumn<GaiaSdSaleRecipelOutData, String> gssrCustMobile) {
        this.gssrCustMobile = gssrCustMobile;
    }

    public void setGssrPharmacistId(TableColumn<GaiaSdSaleRecipelOutData, String> gssrPharmacistId) {
        this.gssrPharmacistId = gssrPharmacistId;
    }

    public void setGssrPharmacistName(TableColumn<GaiaSdSaleRecipelOutData, String> gssrPharmacistName) {
        this.gssrPharmacistName = gssrPharmacistName;
    }

    public void setGssrCheckDate(TableColumn<GaiaSdSaleRecipelOutData, String> gssrCheckDate) {
        this.gssrCheckDate = gssrCheckDate;
    }

    public void setGssrCheckTime(TableColumn<GaiaSdSaleRecipelOutData, String> gssrCheckTime) {
        this.gssrCheckTime = gssrCheckTime;
    }

    public void setGssrCheckStatus(TableColumn<GaiaSdSaleRecipelOutData, String> gssrCheckStatus) {
        this.gssrCheckStatus = gssrCheckStatus;
    }

    public void setGssrProId(TableColumn<GaiaSdSaleRecipelOutData, String> gssrProId) {
        this.gssrProId = gssrProId;
    }

    public void setProName(TableColumn<GaiaSdSaleRecipelOutData, String> proName) {
        this.proName = proName;
    }

    public void setProSpecs(TableColumn<GaiaSdSaleRecipelOutData, String> proSpecs) {
        this.proSpecs = proSpecs;
    }

    public void setProUnit(TableColumn<GaiaSdSaleRecipelOutData, String> proUnit) {
        this.proUnit = proUnit;
    }

    public void setGssrBatchNo(TableColumn<GaiaSdSaleRecipelOutData, String> gssrBatchNo) {
        this.gssrBatchNo = gssrBatchNo;
    }

    public void setGssrQty(TableColumn<GaiaSdSaleRecipelOutData, String> gssrQty) {
        this.gssrQty = gssrQty;
    }

    public void setProPriceNormal(TableColumn<GaiaSdSaleRecipelOutData, String> proPriceNormal) {
        this.proPriceNormal = proPriceNormal;
    }

    public void setProFactoryName(TableColumn<GaiaSdSaleRecipelOutData, String> proFactoryName) {
        this.proFactoryName = proFactoryName;
    }

    public void setProPlace(TableColumn<GaiaSdSaleRecipelOutData, String> proPlace) {
        this.proPlace = proPlace;
    }

    public void setProForm(TableColumn<GaiaSdSaleRecipelOutData, String> proForm) {
        this.proForm = proForm;
    }

    public void setProRegisterNo(TableColumn<GaiaSdSaleRecipelOutData, String> proRegisterNo) {
        this.proRegisterNo = proRegisterNo;
    }

    public void setGssrRecipelId(TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelId) {
        this.gssrRecipelId = gssrRecipelId;
    }

    public void setGssrRecipelHospital(TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelHospital) {
        this.gssrRecipelHospital = gssrRecipelHospital;
    }

    public void setGssrRecipelDepartment(TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelDepartment) {
        this.gssrRecipelDepartment = gssrRecipelDepartment;
    }

    public void setGssrRecipelDoctor(TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelDoctor) {
        this.gssrRecipelDoctor = gssrRecipelDoctor;
    }

    public void setGssrSymptom(TableColumn<GaiaSdSaleRecipelOutData, String> gssrSymptom) {
        this.gssrSymptom = gssrSymptom;
    }

    public void setGssrDiagnose(TableColumn<GaiaSdSaleRecipelOutData, String> gssrDiagnose) {
        this.gssrDiagnose = gssrDiagnose;
    }

    public void setGssrRecipelPicId(TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelPicId) {
        this.gssrRecipelPicId = gssrRecipelPicId;
    }

    public void setGssrRecipelPicName(TableColumn<GaiaSdSaleRecipelOutData, String> gssrRecipelPicName) {
        this.gssrRecipelPicName = gssrRecipelPicName;
    }

    public void setTableView(TableView<GaiaSdSaleRecipelOutData> tableView) {
        this.tableView = tableView;
    }

    public void setIndexController(IndexController indexController) {
        this.indexController = indexController;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SaleRecipelQueryController)) {
            return false;
        }
        SaleRecipelQueryController other = (SaleRecipelQueryController)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (this.getPageSize() != other.getPageSize()) {
            return false;
        }
        if (this.getDefaultPageCount() != other.getDefaultPageCount()) {
            return false;
        }
        ObservableList<GaiaSdSaleRecipelOutData> this$observableTableList = this.getObservableTableList();
        ObservableList<GaiaSdSaleRecipelOutData> other$observableTableList = other.getObservableTableList();
        if (this$observableTableList == null ? other$observableTableList != null : !this$observableTableList.equals(other$observableTableList)) {
            return false;
        }
        ScrollPane this$scrollPane = this.getScrollPane();
        ScrollPane other$scrollPane = other.getScrollPane();
        if (this$scrollPane == null ? other$scrollPane != null : !this$scrollPane.equals(other$scrollPane)) {
            return false;
        }
        VBox this$vBox = this.getVBox();
        VBox other$vBox = other.getVBox();
        if (this$vBox == null ? other$vBox != null : !this$vBox.equals(other$vBox)) {
            return false;
        }
        Button this$sureBtn = this.getSureBtn();
        Button other$sureBtn = other.getSureBtn();
        if (this$sureBtn == null ? other$sureBtn != null : !this$sureBtn.equals(other$sureBtn)) {
            return false;
        }
        Pagination this$pagination = this.getPagination();
        Pagination other$pagination = other.getPagination();
        if (this$pagination == null ? other$pagination != null : !this$pagination.equals(other$pagination)) {
            return false;
        }
        TextField this$inpGssrRecipelId = this.getInpGssrRecipelId();
        TextField other$inpGssrRecipelId = other.getInpGssrRecipelId();
        if (this$inpGssrRecipelId == null ? other$inpGssrRecipelId != null : !this$inpGssrRecipelId.equals(other$inpGssrRecipelId)) {
            return false;
        }
        TextField this$inpGssrProId = this.getInpGssrProId();
        TextField other$inpGssrProId = other.getInpGssrProId();
        if (this$inpGssrProId == null ? other$inpGssrProId != null : !this$inpGssrProId.equals(other$inpGssrProId)) {
            return false;
        }
        TextField this$inpGssrPharmacistName = this.getInpGssrPharmacistName();
        TextField other$inpGssrPharmacistName = other.getInpGssrPharmacistName();
        if (this$inpGssrPharmacistName == null ? other$inpGssrPharmacistName != null : !this$inpGssrPharmacistName.equals(other$inpGssrPharmacistName)) {
            return false;
        }
        TextField this$inpGssrCustName = this.getInpGssrCustName();
        TextField other$inpGssrCustName = other.getInpGssrCustName();
        if (this$inpGssrCustName == null ? other$inpGssrCustName != null : !this$inpGssrCustName.equals(other$inpGssrCustName)) {
            return false;
        }
        TextField this$inpGssrBatchNo = this.getInpGssrBatchNo();
        TextField other$inpGssrBatchNo = other.getInpGssrBatchNo();
        if (this$inpGssrBatchNo == null ? other$inpGssrBatchNo != null : !this$inpGssrBatchNo.equals(other$inpGssrBatchNo)) {
            return false;
        }
        TextField this$inpGssrPharmacistId = this.getInpGssrPharmacistId();
        TextField other$inpGssrPharmacistId = other.getInpGssrPharmacistId();
        if (this$inpGssrPharmacistId == null ? other$inpGssrPharmacistId != null : !this$inpGssrPharmacistId.equals(other$inpGssrPharmacistId)) {
            return false;
        }
        TextField this$inpGssrCustMobile = this.getInpGssrCustMobile();
        TextField other$inpGssrCustMobile = other.getInpGssrCustMobile();
        if (this$inpGssrCustMobile == null ? other$inpGssrCustMobile != null : !this$inpGssrCustMobile.equals(other$inpGssrCustMobile)) {
            return false;
        }
        ChoiceBox<GsdcStatus> this$inpGssrType = this.getInpGssrType();
        ChoiceBox<GsdcStatus> other$inpGssrType = other.getInpGssrType();
        if (this$inpGssrType == null ? other$inpGssrType != null : !this$inpGssrType.equals(other$inpGssrType)) {
            return false;
        }
        ChoiceBox<GsdcStatus> this$inpGssrCheckStatus = this.getInpGssrCheckStatus();
        ChoiceBox<GsdcStatus> other$inpGssrCheckStatus = other.getInpGssrCheckStatus();
        if (this$inpGssrCheckStatus == null ? other$inpGssrCheckStatus != null : !this$inpGssrCheckStatus.equals(other$inpGssrCheckStatus)) {
            return false;
        }
        DatePicker this$inpGssrCheckDate = this.getInpGssrCheckDate();
        DatePicker other$inpGssrCheckDate = other.getInpGssrCheckDate();
        if (this$inpGssrCheckDate == null ? other$inpGssrCheckDate != null : !this$inpGssrCheckDate.equals(other$inpGssrCheckDate)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$index = this.getIndex();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$index = other.getIndex();
        if (this$index == null ? other$index != null : !this$index.equals(other$index)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrType = this.getGssrType();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrType = other.getGssrType();
        if (this$gssrType == null ? other$gssrType != null : !this$gssrType.equals(other$gssrType)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrBrName = this.getGssrBrName();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrBrName = other.getGssrBrName();
        if (this$gssrBrName == null ? other$gssrBrName != null : !this$gssrBrName.equals(other$gssrBrName)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrDate = this.getGssrDate();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrDate = other.getGssrDate();
        if (this$gssrDate == null ? other$gssrDate != null : !this$gssrDate.equals(other$gssrDate)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrTime = this.getGssrTime();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrTime = other.getGssrTime();
        if (this$gssrTime == null ? other$gssrTime != null : !this$gssrTime.equals(other$gssrTime)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrEmp = this.getGssrEmp();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrEmp = other.getGssrEmp();
        if (this$gssrEmp == null ? other$gssrEmp != null : !this$gssrEmp.equals(other$gssrEmp)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrUploadFlag = this.getGssrUploadFlag();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrUploadFlag = other.getGssrUploadFlag();
        if (this$gssrUploadFlag == null ? other$gssrUploadFlag != null : !this$gssrUploadFlag.equals(other$gssrUploadFlag)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrSaleBrName = this.getGssrSaleBrName();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrSaleBrName = other.getGssrSaleBrName();
        if (this$gssrSaleBrName == null ? other$gssrSaleBrName != null : !this$gssrSaleBrName.equals(other$gssrSaleBrName)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrSaleDate = this.getGssrSaleDate();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrSaleDate = other.getGssrSaleDate();
        if (this$gssrSaleDate == null ? other$gssrSaleDate != null : !this$gssrSaleDate.equals(other$gssrSaleDate)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrSaleBillNo = this.getGssrSaleBillNo();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrSaleBillNo = other.getGssrSaleBillNo();
        if (this$gssrSaleBillNo == null ? other$gssrSaleBillNo != null : !this$gssrSaleBillNo.equals(other$gssrSaleBillNo)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrCustName = this.getGssrCustName();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrCustName = other.getGssrCustName();
        if (this$gssrCustName == null ? other$gssrCustName != null : !this$gssrCustName.equals(other$gssrCustName)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrCustSex = this.getGssrCustSex();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrCustSex = other.getGssrCustSex();
        if (this$gssrCustSex == null ? other$gssrCustSex != null : !this$gssrCustSex.equals(other$gssrCustSex)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrCustAge = this.getGssrCustAge();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrCustAge = other.getGssrCustAge();
        if (this$gssrCustAge == null ? other$gssrCustAge != null : !this$gssrCustAge.equals(other$gssrCustAge)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrCustIdcard = this.getGssrCustIdcard();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrCustIdcard = other.getGssrCustIdcard();
        if (this$gssrCustIdcard == null ? other$gssrCustIdcard != null : !this$gssrCustIdcard.equals(other$gssrCustIdcard)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrCustMobile = this.getGssrCustMobile();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrCustMobile = other.getGssrCustMobile();
        if (this$gssrCustMobile == null ? other$gssrCustMobile != null : !this$gssrCustMobile.equals(other$gssrCustMobile)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrPharmacistId = this.getGssrPharmacistId();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrPharmacistId = other.getGssrPharmacistId();
        if (this$gssrPharmacistId == null ? other$gssrPharmacistId != null : !this$gssrPharmacistId.equals(other$gssrPharmacistId)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrPharmacistName = this.getGssrPharmacistName();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrPharmacistName = other.getGssrPharmacistName();
        if (this$gssrPharmacistName == null ? other$gssrPharmacistName != null : !this$gssrPharmacistName.equals(other$gssrPharmacistName)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrCheckDate = this.getGssrCheckDate();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrCheckDate = other.getGssrCheckDate();
        if (this$gssrCheckDate == null ? other$gssrCheckDate != null : !this$gssrCheckDate.equals(other$gssrCheckDate)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrCheckTime = this.getGssrCheckTime();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrCheckTime = other.getGssrCheckTime();
        if (this$gssrCheckTime == null ? other$gssrCheckTime != null : !this$gssrCheckTime.equals(other$gssrCheckTime)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrCheckStatus = this.getGssrCheckStatus();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrCheckStatus = other.getGssrCheckStatus();
        if (this$gssrCheckStatus == null ? other$gssrCheckStatus != null : !this$gssrCheckStatus.equals(other$gssrCheckStatus)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrProId = this.getGssrProId();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrProId = other.getGssrProId();
        if (this$gssrProId == null ? other$gssrProId != null : !this$gssrProId.equals(other$gssrProId)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$proName = this.getProName();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$proName = other.getProName();
        if (this$proName == null ? other$proName != null : !this$proName.equals(other$proName)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$proSpecs = this.getProSpecs();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$proSpecs = other.getProSpecs();
        if (this$proSpecs == null ? other$proSpecs != null : !this$proSpecs.equals(other$proSpecs)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$proUnit = this.getProUnit();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$proUnit = other.getProUnit();
        if (this$proUnit == null ? other$proUnit != null : !this$proUnit.equals(other$proUnit)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrBatchNo = this.getGssrBatchNo();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrBatchNo = other.getGssrBatchNo();
        if (this$gssrBatchNo == null ? other$gssrBatchNo != null : !this$gssrBatchNo.equals(other$gssrBatchNo)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrQty = this.getGssrQty();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrQty = other.getGssrQty();
        if (this$gssrQty == null ? other$gssrQty != null : !this$gssrQty.equals(other$gssrQty)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$proPriceNormal = this.getProPriceNormal();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$proPriceNormal = other.getProPriceNormal();
        if (this$proPriceNormal == null ? other$proPriceNormal != null : !this$proPriceNormal.equals(other$proPriceNormal)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$proFactoryName = this.getProFactoryName();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$proFactoryName = other.getProFactoryName();
        if (this$proFactoryName == null ? other$proFactoryName != null : !this$proFactoryName.equals(other$proFactoryName)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$proPlace = this.getProPlace();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$proPlace = other.getProPlace();
        if (this$proPlace == null ? other$proPlace != null : !this$proPlace.equals(other$proPlace)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$proForm = this.getProForm();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$proForm = other.getProForm();
        if (this$proForm == null ? other$proForm != null : !this$proForm.equals(other$proForm)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$proRegisterNo = this.getProRegisterNo();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$proRegisterNo = other.getProRegisterNo();
        if (this$proRegisterNo == null ? other$proRegisterNo != null : !this$proRegisterNo.equals(other$proRegisterNo)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrRecipelId = this.getGssrRecipelId();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrRecipelId = other.getGssrRecipelId();
        if (this$gssrRecipelId == null ? other$gssrRecipelId != null : !this$gssrRecipelId.equals(other$gssrRecipelId)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrRecipelHospital = this.getGssrRecipelHospital();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrRecipelHospital = other.getGssrRecipelHospital();
        if (this$gssrRecipelHospital == null ? other$gssrRecipelHospital != null : !this$gssrRecipelHospital.equals(other$gssrRecipelHospital)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrRecipelDepartment = this.getGssrRecipelDepartment();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrRecipelDepartment = other.getGssrRecipelDepartment();
        if (this$gssrRecipelDepartment == null ? other$gssrRecipelDepartment != null : !this$gssrRecipelDepartment.equals(other$gssrRecipelDepartment)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrRecipelDoctor = this.getGssrRecipelDoctor();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrRecipelDoctor = other.getGssrRecipelDoctor();
        if (this$gssrRecipelDoctor == null ? other$gssrRecipelDoctor != null : !this$gssrRecipelDoctor.equals(other$gssrRecipelDoctor)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrSymptom = this.getGssrSymptom();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrSymptom = other.getGssrSymptom();
        if (this$gssrSymptom == null ? other$gssrSymptom != null : !this$gssrSymptom.equals(other$gssrSymptom)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrDiagnose = this.getGssrDiagnose();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrDiagnose = other.getGssrDiagnose();
        if (this$gssrDiagnose == null ? other$gssrDiagnose != null : !this$gssrDiagnose.equals(other$gssrDiagnose)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrRecipelPicId = this.getGssrRecipelPicId();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrRecipelPicId = other.getGssrRecipelPicId();
        if (this$gssrRecipelPicId == null ? other$gssrRecipelPicId != null : !this$gssrRecipelPicId.equals(other$gssrRecipelPicId)) {
            return false;
        }
        TableColumn<GaiaSdSaleRecipelOutData, String> this$gssrRecipelPicName = this.getGssrRecipelPicName();
        TableColumn<GaiaSdSaleRecipelOutData, String> other$gssrRecipelPicName = other.getGssrRecipelPicName();
        if (this$gssrRecipelPicName == null ? other$gssrRecipelPicName != null : !this$gssrRecipelPicName.equals(other$gssrRecipelPicName)) {
            return false;
        }
        TableView<GaiaSdSaleRecipelOutData> this$tableView = this.getTableView();
        TableView<GaiaSdSaleRecipelOutData> other$tableView = other.getTableView();
        if (this$tableView == null ? other$tableView != null : !this$tableView.equals(other$tableView)) {
            return false;
        }
        IndexController this$indexController = this.getIndexController();
        IndexController other$indexController = other.getIndexController();
        return !(this$indexController == null ? other$indexController != null : !(this$indexController).equals(other$indexController));
    }

    protected boolean canEqual(Object other) {
        return other instanceof SaleRecipelQueryController;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        result = result * 59 + this.getPageSize();
        result = result * 59 + this.getDefaultPageCount();
        ObservableList<GaiaSdSaleRecipelOutData> $observableTableList = this.getObservableTableList();
        result = result * 59 + ($observableTableList == null ? 43 : $observableTableList.hashCode());
        ScrollPane $scrollPane = this.getScrollPane();
        result = result * 59 + ($scrollPane == null ? 43 : $scrollPane.hashCode());
        VBox $vBox = this.getVBox();
        result = result * 59 + ($vBox == null ? 43 : $vBox.hashCode());
        Button $sureBtn = this.getSureBtn();
        result = result * 59 + ($sureBtn == null ? 43 : $sureBtn.hashCode());
        Pagination $pagination = this.getPagination();
        result = result * 59 + ($pagination == null ? 43 : $pagination.hashCode());
        TextField $inpGssrRecipelId = this.getInpGssrRecipelId();
        result = result * 59 + ($inpGssrRecipelId == null ? 43 : $inpGssrRecipelId.hashCode());
        TextField $inpGssrProId = this.getInpGssrProId();
        result = result * 59 + ($inpGssrProId == null ? 43 : $inpGssrProId.hashCode());
        TextField $inpGssrPharmacistName = this.getInpGssrPharmacistName();
        result = result * 59 + ($inpGssrPharmacistName == null ? 43 : $inpGssrPharmacistName.hashCode());
        TextField $inpGssrCustName = this.getInpGssrCustName();
        result = result * 59 + ($inpGssrCustName == null ? 43 : $inpGssrCustName.hashCode());
        TextField $inpGssrBatchNo = this.getInpGssrBatchNo();
        result = result * 59 + ($inpGssrBatchNo == null ? 43 : $inpGssrBatchNo.hashCode());
        TextField $inpGssrPharmacistId = this.getInpGssrPharmacistId();
        result = result * 59 + ($inpGssrPharmacistId == null ? 43 : $inpGssrPharmacistId.hashCode());
        TextField $inpGssrCustMobile = this.getInpGssrCustMobile();
        result = result * 59 + ($inpGssrCustMobile == null ? 43 : $inpGssrCustMobile.hashCode());
        ChoiceBox<GsdcStatus> $inpGssrType = this.getInpGssrType();
        result = result * 59 + ($inpGssrType == null ? 43 : $inpGssrType.hashCode());
        ChoiceBox<GsdcStatus> $inpGssrCheckStatus = this.getInpGssrCheckStatus();
        result = result * 59 + ($inpGssrCheckStatus == null ? 43 : $inpGssrCheckStatus.hashCode());
        DatePicker $inpGssrCheckDate = this.getInpGssrCheckDate();
        result = result * 59 + ($inpGssrCheckDate == null ? 43 : $inpGssrCheckDate.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $index = this.getIndex();
        result = result * 59 + ($index == null ? 43 : $index.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrType = this.getGssrType();
        result = result * 59 + ($gssrType == null ? 43 : $gssrType.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrBrName = this.getGssrBrName();
        result = result * 59 + ($gssrBrName == null ? 43 : $gssrBrName.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrDate = this.getGssrDate();
        result = result * 59 + ($gssrDate == null ? 43 : $gssrDate.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrTime = this.getGssrTime();
        result = result * 59 + ($gssrTime == null ? 43 : $gssrTime.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrEmp = this.getGssrEmp();
        result = result * 59 + ($gssrEmp == null ? 43 : $gssrEmp.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrUploadFlag = this.getGssrUploadFlag();
        result = result * 59 + ($gssrUploadFlag == null ? 43 : $gssrUploadFlag.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrSaleBrName = this.getGssrSaleBrName();
        result = result * 59 + ($gssrSaleBrName == null ? 43 : $gssrSaleBrName.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrSaleDate = this.getGssrSaleDate();
        result = result * 59 + ($gssrSaleDate == null ? 43 : $gssrSaleDate.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrSaleBillNo = this.getGssrSaleBillNo();
        result = result * 59 + ($gssrSaleBillNo == null ? 43 : $gssrSaleBillNo.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrCustName = this.getGssrCustName();
        result = result * 59 + ($gssrCustName == null ? 43 : $gssrCustName.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrCustSex = this.getGssrCustSex();
        result = result * 59 + ($gssrCustSex == null ? 43 : $gssrCustSex.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrCustAge = this.getGssrCustAge();
        result = result * 59 + ($gssrCustAge == null ? 43 : $gssrCustAge.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrCustIdcard = this.getGssrCustIdcard();
        result = result * 59 + ($gssrCustIdcard == null ? 43 : $gssrCustIdcard.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrCustMobile = this.getGssrCustMobile();
        result = result * 59 + ($gssrCustMobile == null ? 43 : $gssrCustMobile.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrPharmacistId = this.getGssrPharmacistId();
        result = result * 59 + ($gssrPharmacistId == null ? 43 : $gssrPharmacistId.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrPharmacistName = this.getGssrPharmacistName();
        result = result * 59 + ($gssrPharmacistName == null ? 43 : $gssrPharmacistName.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrCheckDate = this.getGssrCheckDate();
        result = result * 59 + ($gssrCheckDate == null ? 43 : $gssrCheckDate.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrCheckTime = this.getGssrCheckTime();
        result = result * 59 + ($gssrCheckTime == null ? 43 : $gssrCheckTime.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrCheckStatus = this.getGssrCheckStatus();
        result = result * 59 + ($gssrCheckStatus == null ? 43 : $gssrCheckStatus.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrProId = this.getGssrProId();
        result = result * 59 + ($gssrProId == null ? 43 : $gssrProId.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $proName = this.getProName();
        result = result * 59 + ($proName == null ? 43 : $proName.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $proSpecs = this.getProSpecs();
        result = result * 59 + ($proSpecs == null ? 43 : $proSpecs.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $proUnit = this.getProUnit();
        result = result * 59 + ($proUnit == null ? 43 : $proUnit.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrBatchNo = this.getGssrBatchNo();
        result = result * 59 + ($gssrBatchNo == null ? 43 : $gssrBatchNo.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrQty = this.getGssrQty();
        result = result * 59 + ($gssrQty == null ? 43 : $gssrQty.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $proPriceNormal = this.getProPriceNormal();
        result = result * 59 + ($proPriceNormal == null ? 43 : $proPriceNormal.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $proFactoryName = this.getProFactoryName();
        result = result * 59 + ($proFactoryName == null ? 43 : $proFactoryName.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $proPlace = this.getProPlace();
        result = result * 59 + ($proPlace == null ? 43 : $proPlace.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $proForm = this.getProForm();
        result = result * 59 + ($proForm == null ? 43 : $proForm.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $proRegisterNo = this.getProRegisterNo();
        result = result * 59 + ($proRegisterNo == null ? 43 : $proRegisterNo.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrRecipelId = this.getGssrRecipelId();
        result = result * 59 + ($gssrRecipelId == null ? 43 : $gssrRecipelId.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrRecipelHospital = this.getGssrRecipelHospital();
        result = result * 59 + ($gssrRecipelHospital == null ? 43 : $gssrRecipelHospital.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrRecipelDepartment = this.getGssrRecipelDepartment();
        result = result * 59 + ($gssrRecipelDepartment == null ? 43 : $gssrRecipelDepartment.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrRecipelDoctor = this.getGssrRecipelDoctor();
        result = result * 59 + ($gssrRecipelDoctor == null ? 43 : $gssrRecipelDoctor.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrSymptom = this.getGssrSymptom();
        result = result * 59 + ($gssrSymptom == null ? 43 : $gssrSymptom.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrDiagnose = this.getGssrDiagnose();
        result = result * 59 + ($gssrDiagnose == null ? 43 : $gssrDiagnose.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrRecipelPicId = this.getGssrRecipelPicId();
        result = result * 59 + ($gssrRecipelPicId == null ? 43 : $gssrRecipelPicId.hashCode());
        TableColumn<GaiaSdSaleRecipelOutData, String> $gssrRecipelPicName = this.getGssrRecipelPicName();
        result = result * 59 + ($gssrRecipelPicName == null ? 43 : $gssrRecipelPicName.hashCode());
        TableView<GaiaSdSaleRecipelOutData> $tableView = this.getTableView();
        result = result * 59 + ($tableView == null ? 43 : $tableView.hashCode());
        IndexController $indexController = this.getIndexController();
        result = result * 59 + ($indexController == null ? 43 : ($indexController).hashCode());
        return result;
    }

    public String toString() {
        return "SaleRecipelQueryController(pageSize=" + this.getPageSize() + ", defaultPageCount=" + this.getDefaultPageCount() + ", observableTableList=" + this.getObservableTableList() + ", scrollPane=" + this.getScrollPane() + ", vBox=" + this.getVBox() + ", sureBtn=" + this.getSureBtn() + ", pagination=" + this.getPagination() + ", inpGssrRecipelId=" + this.getInpGssrRecipelId() + ", inpGssrProId=" + this.getInpGssrProId() + ", inpGssrPharmacistName=" + this.getInpGssrPharmacistName() + ", inpGssrCustName=" + this.getInpGssrCustName() + ", inpGssrBatchNo=" + this.getInpGssrBatchNo() + ", inpGssrPharmacistId=" + this.getInpGssrPharmacistId() + ", inpGssrCustMobile=" + this.getInpGssrCustMobile() + ", inpGssrType=" + this.getInpGssrType() + ", inpGssrCheckStatus=" + this.getInpGssrCheckStatus() + ", inpGssrCheckDate=" + this.getInpGssrCheckDate() + ", index=" + this.getIndex() + ", gssrType=" + this.getGssrType() + ", gssrBrName=" + this.getGssrBrName() + ", gssrDate=" + this.getGssrDate() + ", gssrTime=" + this.getGssrTime() + ", gssrEmp=" + this.getGssrEmp() + ", gssrUploadFlag=" + this.getGssrUploadFlag() + ", gssrSaleBrName=" + this.getGssrSaleBrName() + ", gssrSaleDate=" + this.getGssrSaleDate() + ", gssrSaleBillNo=" + this.getGssrSaleBillNo() + ", gssrCustName=" + this.getGssrCustName() + ", gssrCustSex=" + this.getGssrCustSex() + ", gssrCustAge=" + this.getGssrCustAge() + ", gssrCustIdcard=" + this.getGssrCustIdcard() + ", gssrCustMobile=" + this.getGssrCustMobile() + ", gssrPharmacistId=" + this.getGssrPharmacistId() + ", gssrPharmacistName=" + this.getGssrPharmacistName() + ", gssrCheckDate=" + this.getGssrCheckDate() + ", gssrCheckTime=" + this.getGssrCheckTime() + ", gssrCheckStatus=" + this.getGssrCheckStatus() + ", gssrProId=" + this.getGssrProId() + ", proName=" + this.getProName() + ", proSpecs=" + this.getProSpecs() + ", proUnit=" + this.getProUnit() + ", gssrBatchNo=" + this.getGssrBatchNo() + ", gssrQty=" + this.getGssrQty() + ", proPriceNormal=" + this.getProPriceNormal() + ", proFactoryName=" + this.getProFactoryName() + ", proPlace=" + this.getProPlace() + ", proForm=" + this.getProForm() + ", proRegisterNo=" + this.getProRegisterNo() + ", gssrRecipelId=" + this.getGssrRecipelId() + ", gssrRecipelHospital=" + this.getGssrRecipelHospital() + ", gssrRecipelDepartment=" + this.getGssrRecipelDepartment() + ", gssrRecipelDoctor=" + this.getGssrRecipelDoctor() + ", gssrSymptom=" + this.getGssrSymptom() + ", gssrDiagnose=" + this.getGssrDiagnose() + ", gssrRecipelPicId=" + this.getGssrRecipelPicId() + ", gssrRecipelPicName=" + this.getGssrRecipelPicName() + ", tableView=" + this.getTableView() + ", indexController=" + this.getIndexController() + ")";
    }
}

